package com.xb.loan.admin.service.dict;

public interface IenumConstants {
	/** 主键生成的策略*/
	public static enum PriKeyStrategy{
	    COMMON("common",4),
	    FUND("fund",4), 
	    ACCOUNT_BILL("account_bill", 6), 
	    COUPON_INFO("coupon_info", 4), 
	    COUPON_BILL("coupon_bill", 4), 
	    ISSUE("issue", 4), 
	    ORDERINFO("order_info", 6), 
	    ORDERMULTI("order_multi", 6), 
	    ORDERPERISSUE("order_perissue", 6), 
	    ORDERTICKET("order_ticket", 6),
	    ORDERPAYDETAIL("order_pay_detail", 6),
	    ORDERTICKETDIFF("order_ticket_diff", 4),
	    ORDERTICKETADDI("order_ticket_addi", 4),
	    USER_CENTER("user_center", 4),
	    USER_CENTER_RELATION("user_center_relation", 4),
	    OSS_ROLE("oss_role", 4),
	    OSS_OPERATOR("oss_operator", 4),
	    CASHIER_PAYCHANNEL_TYPE("cashier_paychannel_type", 6),
	    CASHIER_PAYCHANNEL("cashier_paychannel", 6),
	    PUSH("push", 6);
	    
	    private String code;
	    private int num;
	    private PriKeyStrategy(String code,int num) {
	        this.code = code;
	        this.num=num;
	    }
	    public String getCode() {return code;}
	    public void setCode(String code) {this.code = code;	}
	    public int getNum() {return num;}
	    public void setNum(int num) {this.num = num;	}	
	}
	/** 充值审核的最低额度 */
	public static enum ChargeLimitMoney {LIMITMONEY(0);private int code;private ChargeLimitMoney(int code) {this.code = code;}public int getCode() {return code;}public void setCode(int code) {this.code = code;	}	}
	/** 加密中间符号 */
	public static enum EncryptStrCentor{COMMON("&");private String code;private EncryptStrCentor(String code) {this.code = code;}public String getCode() {return code;}public void setCode(String code) {this.code = code;	}	}
	/** 对账中间符号 */
	public static enum AccountStrSpilt{COMMON("|");private String code;private AccountStrSpilt(String code) {this.code = code;}public String getCode() {return code;}public void setCode(String code) {this.code = code;	}	}
	/** 收银台  编号 */
	public static enum CashierCode{COMMON("110");private String code;private CashierCode(String code) {this.code = code;}public String getCode() {return code;}public void setCode(String code) {this.code = code;	}	}
	
	
	public static enum ChargeStatus {SUSPEND(0), SUCCESS(1), FAIL(2), VERIFY_ERROR(3);private int code;private ChargeStatus(int code) {this.code = code;}public int getCode() {return code;}public void setCode(int code) {this.code = code;	}	}
	
	
	public static enum PartnerType {B2B(1), B2BB2C(2), B2C(3);private int code;private PartnerType(int code) {this.code = code;}public int getCode() {return code;}public void setCode(int code) {this.code = code;	}	}
	
	public static enum StationType {SYNC(0), ASYNC(1);private int code;private StationType(int code) {	this.code = code;}public int getCode() {return code;}public void setCode(int code) {this.code = code;}}
	
	/**用户类型*/
	public static enum UserLevel {CHANNEL(1), NORMAL(3), CRAD(4);private int code;private UserLevel(int code) {this.code = code;}public int getCode() {		return code;	}	public void setCode(int code) {this.code = code;}}
	
	public static enum EmailType {	ACTIVATE(0), RETRIEVE(1);private int code;private EmailType(int code) {	this.code = code;}	public int getCode() {		return code;	}	public void setCode(int code) {			this.code = code;		}	}

	public static enum UserPayCardbindType {	BIND(0), UNBIND(1);private int code;private UserPayCardbindType(int code) {	this.code = code;}	public int getCode() {		return code;	}	public void setCode(int code) {			this.code = code;		}	}
	
	public static enum UserPayCardDefault {	DEFAULT(0), NOTDEFAULT(1);private int code;private UserPayCardDefault(int code) {	this.code = code;}	public int getCode() {		return code;	}	public void setCode(int code) {			this.code = code;		}	}
	
	// 渠道用户绑定状态
	public static enum partnerBindStatus {	NORMAL(0), ABNORMAL(1);private int code;private partnerBindStatus(int code) {	this.code = code;}	public int getCode() {		return code;	}	public void setCode(int code) {			this.code = code;		}	}
	// 渠道投注来源关系状态
	public static enum partnerSourceEnable {	ENABLE(0), UNENABLE(1);private int code;private partnerSourceEnable(int code) {	this.code = code;}	public int getCode() {		return code;	}	public void setCode(int code) {			this.code = code;		}	}
	// 渠道彩种  审批状态
	public static enum partnerGameEnable {	ENABLE(1), UNENABLE(0);private int code;private partnerGameEnable(int code) {	this.code = code;}	public int getCode() {		return code;	}	public void setCode(int code) {			this.code = code;		}	}

	// 渠道投注站 可用状态
    public static enum partnerStationEnable {   ENABLE(0), UNENABLE(1);private int code;private partnerStationEnable(int code) {    this.code = code;}  public int getCode() {      return code;    }   public void setCode(int code) {         this.code = code;       }   }

    // 渠道投注站 状态
    public static enum partnerStationStatus {   ASYNCHRONOUSNOSTART(0), SYNCHRONOUSNOSTART(2),ASYNCHRONOUSSTART(1),SYNCHRONOUSSTART(3),DELETEING(5),FLUSH(6);private int code;private partnerStationStatus(int code) {  this.code = code;}  public int getCode() {      return code;    }   public void setCode(int code) {         this.code = code;       }   }

    // 渠道投注站 类型
    public static enum partnerStationType { ASYNCHRONOUS("R"), SYNCHRONOUS("S");private String code;private partnerStationType(String code) {    this.code = code;}  public String getCode() {       return code;    }   public void setCode(String code) {          this.code = code;       }   }

    
	/**
	 * 
	 * 彩民第三方帐号的类型
	 * @author zhiqiang.zhang
	 */
    public static enum UserThirdLoginType {QQ(1, "QQ"), WEIXIN(2, "微信");private int code;private String msg;private UserThirdLoginType(int code, String msg) {this.code = code;this.msg = msg;}public int getCode() {return code;}public void setCode(int code) { this.code = code;}}
    /**
     * 
     * 用户登录状态
     * @author zhiqiang.zhang
     */
    public static enum UserLoginStatus {ONLINE(1, "ONLINE"), OFFLINE(0, "OFFLINE");private int code;private String msg;private UserLoginStatus(int code, String msg) {this.code = code;this.msg = msg;}public int getCode() {return code;}public void setCode(int code) { this.code = code;}}
    /**
     *   
     * 邮箱激活状态
     * @author zhiqiang.zhang
     */
    public static enum emailStatus {activated(1, "已激活"), nonactivated(0, "未激活");private int code;private String msg;private emailStatus(int code, String msg) {this.code = code;this.msg = msg;}public int getCode() {return code;}public void setCode(int code) { this.code = code;}}
    /**
     * 
     * 手机激活状态
     * @author zhiqiang.zhang
     */
    public static enum phoneStatus {activated(1, "已激活"), nonactivated(0, "未激活");private int code;private String msg;private phoneStatus(int code, String msg) {this.code = code;this.msg = msg;}public int getCode() {return code;}public void setCode(int code) { this.code = code;}}

    /**
     * 第三方提现到账类型
     * @author siyuan.shi
     */
    public static enum CashierBankDelayType {T0(0, "T0", "当天到账"), T1(1, "T1", "隔天到账");private int deplayType;private String code;private String desc;private CashierBankDelayType(int deplayType, String code, String desc) {this.deplayType = deplayType;this.code = code;this.desc = desc;}public int getDeplayType() {return deplayType;}public void setDeplayType(int deplayType) {this.deplayType = deplayType;}public String getDesc() {return desc;}public void setDesc(String desc) {this.desc = desc;}public String getCode() {return code;}public void setCode(String code) {this.code = code;}}
    /**
     * 收银台支付类型
     */
    public static enum CashierPayType {charge(0,"充值"),encash(1,"提现");private int code;private String desc;private CashierPayType(int code, String desc) {this.code = code;this.desc = desc;}public String getDesc() {return desc;}public void setDesc(String desc) {this.desc = desc;}public int getCode() {return code;}public void setCode(int code) {this.code = code;}}
    
    /** 核心和热线代理系统之间的方法名称 **/
    public static enum KernelHotlineMethod {
        ADD_TRADET_TICKETS("addTradeTickets"),
        HANDLER_TRADE_RESULT("handlerTradeResult"),
        ADD_NEW_ISSUE("addNewIssue"),
        ADD_PRIZE_INFO("addPrizeInfo"),
        ADD_AWARDS("addAwards");
        private String methodName;
        private KernelHotlineMethod(String methodName) {
            this.methodName = methodName;
        }
        public String getMethodName() {
            return methodName;
        }
    }

    /** 核心和热线代理系统之间的方法协议名称 **/
    public static enum KernelHotlineMethodProtocol {
        REDIS("redis"),
        ICE("ice"),
        DUBBO("dubbo");
        private String methodProtocol;

        private KernelHotlineMethodProtocol(String methodProtocol) {
            this.methodProtocol = methodProtocol;
        }
        public String getMethodProtocol() {
            return methodProtocol;
        }
    }

    /**
     * 
     * 用户状态
     * @author qinglong.wu
     */
    public static enum UserStatus { 
        NORMALSTATUS(1, "正常"),
        FROZENSTATUS(2, "冻结"),
        LOGOFFSTATUS(3, "注销"),
        UNBINDAPPLYSTATUS(4, "解绑申请待审核"),
        UNBINDAPPLYSUCCESSSTATUS(5, "解绑申请审核通过");
        private int code;
        private String msg;
        private UserStatus(int code, String msg) {
            this.code = code;this.msg = msg;
        }
        public int getCode() {return code;}
        public void setCode(int code) { this.code = code;}
        public String getMsg() {return msg;}
        public void setMsg(String msg) { this.msg = msg;}
     }
    
    /**
     * 收银台返回状态
     * @author qinglong.wu
     */
    public static enum CashierResultStatus { 
        SUCCESS(1, "成功"),
        FAIL(2, "失败");
        private int code;
        private String msg;
        private CashierResultStatus(int code, String msg) {
            this.code = code;this.msg = msg;
        }
        public int getCode() {return code;}
        public void setCode(int code) { this.code = code;}
        public String getMsg() {return msg;}
        public void setMsg(String msg) { this.msg = msg;}
     }
    
//    /**
//     * 提现类型
//     * @author qinglong.wu
//     */
//    public static enum EnCashType { 
//        NOTAPPROVE(0, "无需审核"),
//        APPROVE(1, "需审核");
//        private int code;
//        private String msg;
//        private EnCashType(int code, String msg) {
//            this.code = code;this.msg = msg;
//        }
//        public int getCode() {return code;}
//        public void setCode(int code) { this.code = code;}
//        public String getMsg() {return msg;}
//        public void setMsg(String msg) { this.msg = msg;}
//     }
    

    /**
     * 
     * 收银台提现状态
     * @author siyuan.shi
     */
    public static enum CashierEncashStatus {WAIT(0, "待处理"),WAITING(1, "处理中"),SUCCESS(2, "成功"),FAIL(3, "失败");private int status;private String desc;private CashierEncashStatus(int status, String desc){this.status = status;this.desc = desc;}public int getStatus() {return status;}public void setStatus(int status) {this.status = status;}public String getDesc() {return desc;}public void setDesc(String desc) {this.desc = desc;}}
    /**
     * 
     * 收银台交易类型
     * @author siyuan.shi
     */
    public static enum CashierTradeType {WAP(0, "wap"),WEB(1, "admin");private int id;private String name;private CashierTradeType(int id, String name){this.id = id;this.name = name;}public int getId() {return id;}public void setId(int id) {this.id = id;}public String getName() {return name;}public void setName(String name) {this.name = name;}}

    public static enum partnerLevel  { FIRSTGRADE(1),  SECONDGRADE(2),THIRDGRADE(3),FOURTHGRADE(4);private int code;private partnerLevel(int code) {  this.code = code;}  public int getCode() {      return code;    }   public void setCode(int code) {         this.code = code;       }   }
    /**
     * 
     * 收银台充值状态
     * @author siyuan.shi
     */
    public static enum CashierChargeStatus {WAIT(0, "待处理"),WAITING(1, "处理中"),SUCCESS(2, "成功"),FAIL(3, "失败");private int status;private String desc;private CashierChargeStatus(int status, String desc){this.status = status;this.desc = desc;}public int getStatus() {return status;}public void setStatus(int status) {this.status = status;}public String getDesc() {return desc;}public void setDesc(String desc) {this.desc = desc;}}
    /**
     * 
     * 收银台充值通知状态
     * @author siyuan.shi
     */
    public static enum CashierChargeReturnStatus {SUCCESS(1, "成功"),FAIL(2, "失败");private int status;private String desc;private CashierChargeReturnStatus(int status, String desc){this.status = status;this.desc = desc;}public int getStatus() {return status;}public void setStatus(int status) {this.status = status;}public String getDesc() {return desc;}public void setDesc(String desc) {this.desc = desc;}}
    /**
     * 收银台充值推送状态
     */
    public static enum CashierChargeSendStatus {NOTSEND(0, "未发送"),SENDED(1, "已发送"),SENDFAIL(2, "发送失败");private int status;private String desc;private CashierChargeSendStatus(int status, String desc){this.status = status;this.desc = desc;}public int getStatus() {return status;}public void setStatus(int status) {this.status = status;}public String getDesc() {return desc;}public void setDesc(String desc) {this.desc = desc;}}
    /**
     * 收银台提现推送状态
     */
    public static enum CashierEncashSendStatus {NOTSEND(0, "未发送"),SENDED(1, "已发送"),SENDFAIL(2, "发送失败");private int status;private String desc;private CashierEncashSendStatus(int status, String desc){this.status = status;this.desc = desc;}public int getStatus() {return status;}public void setStatus(int status) {this.status = status;}public String getDesc() {return desc;}public void setDesc(String desc) {this.desc = desc;}}
    /**
     * 收银台提现批次状态
     * @author siyuan.shi
     */
    public static enum CashierEncashBatchStatus{WAIT(0, "等待处理"),WAITING(1, "处理中"), SENDING(2, "已发送"), FINISH(3, "完成");private int status;private String desc;private CashierEncashBatchStatus(int status, String desc){this.status = status;this.desc = desc;}public int getStatus() {return status;}public void setStatus(int status) {this.status = status;}public String getDesc() {return desc;}public void setDesc(String desc) {this.desc = desc;}}
    /**收银台加密类型*/
    public static enum CashierEncryptType{MD5(0, "MD5"), RSA(1, "RSA");private int encryptType;private String desc;private CashierEncryptType(int encryptType, String desc){this.encryptType = encryptType;this.desc = desc;}public int getEncryptType() {return encryptType;}public void setEncryptType(int encryptType) {this.encryptType = encryptType;}public String getDesc() {return desc;}public void setDesc(String desc) {this.desc = desc;}}
    /**收银第三方支付类型**/
    public static enum CashierPayChannelType{ALIPAY(1,"支付宝"),WECHATPAY(2,"微信"),UNIONPAY(3,"银联"); private int type;private String desc; private CashierPayChannelType(int type, String desc){this.type=type;this.desc=desc;}public int getType() {return type;}public void setType(int type) {this.type = type;}public String getDesc() {return desc;}public void setDesc(String desc) {this.desc = desc;}}
    /**收银台与第三方对账状态**/
    public static enum CashierAccountStatus{INIT(0,"未对账"), SUCCESS(1,"成功"),FAIL(2, "失败");private int status;private String desc;private CashierAccountStatus(int status, String desc){this.status=status;this.desc=desc;}public void setStatus(int status) {this.status = status;}public void setDesc(String desc) {this.desc = desc;}public int getStatus() {return status;}public String getDesc() {return desc;}}
    /**收银台与第三方对明细账状态**/
    public static enum CashierAccountDetailStatus{SUCCESS(1,"成功"),DETAIL_ERROR(2, "明细不一致"),THIRD_LESS_ERROR(3, "第三方少帐"),CASHIER_LESS_ERROR(4, "收银台少帐");private int status;private String desc;private CashierAccountDetailStatus(int status, String desc){this.status=status;this.desc=desc;}public void setStatus(int status) {this.status = status;}public void setDesc(String desc) {this.desc = desc;}public int getStatus() {return status;}public String getDesc() {return desc;}}
    /**转账类型 */
    //public static enum TransferType{PROXY_CHARGE(0), TRANSFER(1), PROXY_ENCASH(2); private int code;private TransferType(int code) {  this.code = code;}  public int getCode() {      return code;    }   public void setCode(int code) {         this.code = code;       }  }
    /**转账状态 */
    //public static enum TransferStatus{WAIT(0), SUCCESS(1), FAIL(2); private int code;private TransferStatus(int code) {  this.code = code;}  public int getCode() {      return code;    }   public void setCode(int code) {         this.code = code;       }  }

    /**分表选择器*/
    public static enum TableNoAllocator {USER_INFO("t_user_info"), CASH_BILL("t_cash_bill");private String code;private TableNoAllocator(String code) {this.code = code;}public String getCode() {return code;}public void setCode(String code) {this.code = code;	}}
    
    /**订/期订单状态 */
    public static enum OrderStatus{WAITING(0),TRADING(1),SUCCESS(2), FAIL(3),PART(4),WAITPAY(5),NOPAY(6),CANCEL(7); private int code;private OrderStatus(int code) {  this.code = code;}  public int getCode() {      return code;    }   public void setCode(int code) {         this.code = code;       }  }
    
    /**订单类型 */
    public static enum OrderType{DIRECT(0),NOFIX(2),UNION(3),MULIPLE(4),FIX(5); private int code;private OrderType(int code) {  this.code = code;}  public int getCode() {      return code;    }   public void setCode(int code) {         this.code = code;       }  }
    /**停追类型 */
    public static enum StopType{NOSTOP(0),PRIZESTOP(1),BIGPRIZESTOP(2); private int code;private StopType(int code) {  this.code = code;}  public int getCode() {      return code;    }   public void setCode(int code) {         this.code = code;       }  }
    
    /**收银台订单类型 */
    public static enum CashierOrderType{charge(0),encash(1); private int code;private CashierOrderType(int code) {  this.code = code;}  public int getCode() {      return code;    }   public void setCode(int code) {         this.code = code;       }  }
    
    /**赠送彩票领取状态 */
    public static enum GetStatus{DEFAULT(0),NOGET(1),GET(2); private int code;private GetStatus(int code) {  this.code = code;}  public int getCode() {      return code;    }   public void setCode(int code) {         this.code = code;       }  }
    
    /**追号状态 */
    public static enum MultiIssueStatus{NORMAL(1),FINISHED(2),WAITINGPAY(3),NOPAY(4); private int code;private MultiIssueStatus(int code) {  this.code = code;}  public int getCode() {      return code;    }   public void setCode(int code) {         this.code = code;       }  }
    
    /**是否机选 */
    public static enum RandomBall{NORMAL(0),RANDOM(1); private int code;private RandomBall(int code) {  this.code = code;}  public int getCode() {      return code;    }   public void setCode(int code) {         this.code = code;       }  }
    
    /**票状态 */
    public static enum TicketStatus{WAITING(0),TRADING(1),SUCCESS(2), FAIL(3),WAITPAY(4),NOPAY(5),SYNWAINTING(6); private int code;private TicketStatus(int code) {  this.code = code;}  public int getCode() {      return code;    }   public void setCode(int code) {         this.code = code;       }  }
    
    /**中奖类型 */
    public static enum PrizeType{DEFAULT(0),SMALL(1),BIG(2); private int code;private PrizeType(int code) {  this.code = code;}  public int getCode() {      return code;    }   public void setCode(int code) {         this.code = code;       }  }
    
    /**中奖状态 */
    public static enum PrizeStatus{DEFAULT(0),NOWIN(1),WINPRIZE(2),SENDPRIZE(3); private int code;private PrizeStatus(int code) {  this.code = code;}  public int getCode() {      return code;    }   public void setCode(int code) {         this.code = code;       }  }
    /**事件类型 */
    public static enum EventType{NOTICE(0),STAT(1),PRIZE(2); private int code;private EventType(int code) {  this.code = code;}  public int getCode() {      return code;    }   public void setCode(int code) {         this.code = code;       }  }
    /**支付类型 */
    public static enum PayType{CASH(0),GIFT(1),COUPON(2),POINTS(3),ONLINE(4); private int code;private PayType(int code) {  this.code = code;}  public int getCode() {      return code;    }   public void setCode(int code) {         this.code = code;       }  }
    /**支付状态 */
    public static enum PayStatus{NORMAL(0),DEALING(1),SUCCESS(2),FAIL(3); private int code;private PayStatus(int code) {  this.code = code;}  public int getCode() {      return code;    }   public void setCode(int code) {         this.code = code;       }  }
    /**扣费、冲正 */
    public static enum PayCode{DEDUCT(0),REFUND(1); private int code;private PayCode(int code) {  this.code = code;}  public int getCode() {      return code;    }   public void setCode(int code) {         this.code = code;       }  }
    
    /**全国彩种、地方彩种 */
    public static enum AreaGame{AREA_ALL(1),AREA_LOCAL(2); private int code;private AreaGame(int code) {  this.code = code;}  public int getCode() {      return code;    }   public void setCode(int code) {         this.code = code;       }  }
    
    /**票附属信息值类型 */
    public static enum ValueType{ORG_CHECK_CODE(0),PRIZE(1); private int code;private ValueType(int code) {  this.code = code;}  public int getCode() {      return code;    }   public void setCode(int code) {         this.code = code;       }  }
    
    /**
     * 渠道资金类型
     * @author qinglong.wu
     */
    public static enum FundsType { 
        CENTRALMANAGEMENT(0, "中心管理"),
        CHANNELMANAGEMENT(1, "渠道管理");
        private int code;
        private String msg;
        private FundsType(int code, String msg) {
            this.code = code;this.msg = msg;
        }
        public int getCode() {return code;}
        public void setCode(int code) { this.code = code;}
        public String getMsg() {return msg;}
        public void setMsg(String msg) { this.msg = msg;}
     }
    
    /**
     * 证件类型
     * @author qinglong.wu   
     * 
     * 1:'身份证',2:'军官证',3:'护照',4:'公司编号'
     */
    public static enum CardType { 
        CARDNUM(1, "身份证"),
        GASCARDIN(2, "军官证"),
        PASSPORT(3, "护照"),
        COMPANYNUM(4, "公司编号");
        private int code;
        private String msg;
        private CardType(int code, String msg) {
            this.code = code;this.msg = msg;
        }
        public int getCode() {return code;}
        public void setCode(int code) { this.code = code;}        
        public String getMsg() {return msg;}
        public void setMsg(String msg) { this.msg = msg;}
        
     }
    
    /**
     * 用户序列（用户主键生成）
     * @author qinglong.wu   
     * 
     * 1:'身份证',2:'军官证',3:'护照',4:'公司编号'
     */
    public static enum UserSeq { 
        COMMONUSER("commonUser", 6),
        PARTNERUSER("partnerUser", 7);
        private String name;
        private int code;
        private UserSeq(String name, int code) {
            this.name = name;this.code = code;
        }
        public String getName() {return name;}
        public void setName(String name) { this.name = name;}        
        public int getCode() {return code;}
        public void setCode(int code) { this.code = code;}
     }
    
    
    /**
     * 提现
     */
    public static enum  encashStatus{ 
        PENDINGAUDIT(0, "待审核"),
        WAITDEALTWITH(1, "审核失败"),
        AUDITFAILURE(2, "待处理"),
        INHAND(3, "处理中"),
        SUCCESS(4, "成功"),
        FAIL(5, "失败");
        private int code;
        private String msg;
        private encashStatus(int code, String msg) {
            this.code = code;this.msg = msg;
        }
        public int getCode() {return code;}
        public void setCode(int code) { this.code = code;}
        public String getMsg() {return msg;}
        public void setMsg(String msg) { this.msg = msg;}
        
     }
    
    /**
     * 用户提现充值阈值状态
     */
    public static enum  thresholdStatus{ 
        PENDINGAUDIT(0,"未审核"), 
        HAVEAUDITED(1,"已审核");
        private int code;
        private String msg;
        private thresholdStatus(int code, String msg) {
            this.code = code;this.msg = msg;
        }
        public int getCode() {return code;}
        public void setCode(int code) { this.code = code;}
        public String getMsg() {return msg;}
        public void setMsg(String msg) { this.msg = msg;}
        
     }
    
}
